package com.zhuoli.service.springboot.dubbo.provider.core.rpc;

import com.zhuoli.service.springboot.dubbo.contract.request.SayHelloRequest;
import com.zhuoli.service.springboot.dubbo.contract.service.DubboTestService;
import com.zhuoli.service.springboot.dubbo.contract.vo.SayHelloVo;
import org.springframework.stereotype.Service;

/**
 * @Author: zhuoli
 * @Date: 2018/8/21 17:05
 * @Description:
 */
@Service
public class DubboTestServiceImpl implements DubboTestService {
    @Override
    public SayHelloVo sayHello(SayHelloRequest request) {
        SayHelloVo sayHelloVo = new SayHelloVo();
        sayHelloVo.setResult("Hello: " + request.getContent());
        return sayHelloVo;
    }
}
